#include "Attack.h"

SteeringOutput Attack::getSteering()
{
	SteeringOutput steering;

	D3DXVECTOR3 direction = enemy->getPosition() - player->getPosition();
	D3DXVec3Normalize(&direction, &direction);

	direction *= maxSpeed;

	steering.direction = direction;
	steering.rotation = 0.0f;

	return steering;
}

 